<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        let json = {a: 1};
        let json2 = {a: 2, b: 3};
        let json3 = {c: 5};
        let obj  = Object.assign({}, json, json2, json3);
        console.log(obj); 
    </script>
</head>
<body>
    
</body>
</html>